From: Richard M. Stallman Date: Tue, 4 Feb 2003 10:41:10 +0000 (+0000) Subject: (back-to-indentation): Skip all whitespace except for newlines. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~28469 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dea0e859a93cb24bf802649a2848f4f24f25f977;p=emacs.git (back-to-indentation): Skip all whitespace except for newlines. --- diff --git a/lisp/simple.el b/lisp/simple.el index ac531e9674c..27f301b4261 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -368,7 +368,8 @@ useful for editing binary files." "Move point to the first non-whitespace character on this line." (interactive) (beginning-of-line 1) - (skip-chars-forward " \t")) + (let ((limit (line-end-position))) + (skip-syntax-forward " " limit))) (defun fixup-whitespace () "Fixup white space between objects around point.